package com.etl.dataflow.executor.element;

import cn.hutool.json.JSONObject;
import com.etl.dataflow.common.exception.EtlException;

public class TerminateRow extends Row {
    @Override
    public Column<?> getColumn(int i) {
        throw new EtlException("请勿调用此方法");
    }

    @Override
    public void setColumn(int i, Column<?> column) {
        throw new EtlException("请勿调用此方法");
    }

    @Override
    public int getColumnNumber() {
        throw new EtlException("请勿调用此方法");
    }

    @Override
    public JSONObject toJson() {
        throw new EtlException("请勿调用此方法");
    }

    @Override
    public int getContentByteSize() {
        throw new EtlException("请勿调用此方法");
    }

    @Override
    public int getMemorySize() {
        throw new EtlException("请勿调用此方法");
    }

    @Override
    public Column<?> getColumnByName(String name) {
        throw new EtlException("请勿调用此方法");
    }
}
